{include file="public/admin_head.html"}
<script type="text/javascript" charset="utf-8" src="/files/js/ue_editor/editor_config.js"></script>

<!--开发版-->
<script type="text/javascript" charset="utf-8" src="/files/js/ue_editor/_examples/editor_api.js">

</script>
<body>
<form class="form-horizontal" method ="post" action ="./index.php?act=indexmsg&st=msgadd">
	<fieldset>
	<legend>添加大厅公告</legend>
	<div class="control-group">
	  <label for="input01" class="control-label">公告名称：<font color="#FF0000">*</font></label>
	  <div class="controls">
	    <input type="text" id="input01" class="input-xlarge" name="title">
	  </div>
	</div>
	
	<div class="control-group">
	  <label for="input01" class="control-label">外部链接：</label>
	  <div class="controls">
	    <input type="text" id="input01" class="input-xlarge" name="out_url">
	    <span class="label">没有可以不填</span>
	  </div>
	</div>	

	
	<div class="control-group">
	  <label for="input01" class="control-label">公告内容：<font color="#FF0000">*</font></label>
	  <div class="controls">
	    <script id="content" type="text/plain" name="content" style="height:900px">{$content}</script>
	  </div>
	</div>
	

	</fieldset>
	<div class="form-actions">
		<button class="btn btn-primary" type="submit">确认</button>
		<a href="./index.php?act=indexmsg" class="btn">返回</a>
	</div>
    </form>

<script>
//实例化编辑器
 var ue = UE.getEditor('content');
</script>



